package annotation_demo;

/**
 * @author ChenYongHao
 * @date 2023/5/4 11:50
 * @desc 创建待测试模块，UserDao.java
 */
public class UserDao {
    static {
        System.out.println("静态代码块执行了");
    }

    @MyTest
    public void addUser() {
        System.out.println("增加用户");
    }

    @MyTest
    public void delUser() {
        System.out.println("删除用户");
    }

    @MyTest
    public void uptUser() {
        System.out.println("更新用户");
    }

    @MyTest
    public void getUser() {
        System.out.println("获取用户");
    }
}
